package com.example.sxproject.mapper;

import com.example.sxproject.pojo.Mananger;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ManangerMapper {

    //根据用户名查询用户
    @Select("select * from mananger where phone=#{phone} and password=#{password}")
    Mananger findByManangerP_P(String phone,String password);

    //添加

}

